package com.xca.znb.entity;

public class Collect {
    private int id ;
    private String gID ;
    private String type ;
    private String user ;

    public Collect(){}
    public Collect(String gID ,  String type , String user){
        this.gID = gID ;
        this.type = type ;
        this.user = user ;
    }
    public Collect(int id , String gID ,  String type , String user){
        this.id = id ;
        this.gID = gID ;
        this.type = type ;
        this.user = user ;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getgID() {
        return gID;
    }

    public void setgID(String gID) {
        this.gID = gID;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "id=" + id +
                ", gID='" + gID + '\'' +
                ", type='" + type + '\'' +
                ", user='" + user + '\'' +
                '}';
    }
}
